home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / protocol / standard / ccitt / 1992 / x / x25_4.asc < prev    next >
Text File  |  1993-07-14  |  87KB  |  3,767 lines

  1.           5.2.4  Clear request and clear indication packets
  2.                 Figure 8/X.25 illustrates the format of clear request and clear  indication
  3.           packets, in basic and extended formats.
  4.                                                    Bits
  5.                       8          7         6         5         4         3         2         1
  6.           Octet                                                                               
  7.             s    
  8.              1      General format identifier (see Note)         Logical channel group number
  9.              2                                Logical channel number
  10.              3                                 Packet type identifier
  11.                       0          0         0         1         0     
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.           PAGE70  Fascicle VIII.8 - X.25
  71.  
  72.                                                                             0         1         1
  73.             4                                    Clearing cause
  74.             5                                   Diagnostic code a)
  75.            4                                                    Address block b)
  76.                                                   (see S 5.2.1)
  77.                                                 Facility length b)
  78.                                                    Facilites b)
  79.                                                 Clear user data b)
  80.           a)      This field is not mandatory in the basic format of clear request packets (see S 
  81.          5.2.4.1).
  82.          b)       Used only in the extended format (see S 5.2.4.2).
  83.          Note - Coded X001 (modulo 8) or X010 (modulo 128).
  84.                                                 FIGURE 8/X.25
  85.                               Clear request and clear indication packet format
  86.          5.2.4.1   Basic format
  87.          5.2.4.1.1 Clearing cause field
  88.                Octet 4 is the clearing  cause  field  and  contains  the  reason  for  the
  89.          clearing of the call.
  90.                In the clear request packets, the clearing cause field  should  be  set  by
  91.          the DTE to one of the following values:
  92.                                          bits:  8 7 6 5 4 3 2 1
  93.                                          value: 0 0 0 0 0 0 0 0
  94.                                            or: 1 X X X X X X X
  95.          where each X may be independently set to 0 or 1 by the DTE.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  142.  
  143.                 The DCE will prevent values of the clearing cause field  other  than  those
  144.           shown above from reaching the other end of the call by either accepting the clear
  145.           request packet and  forcing  the  clearing  cause  field  to  all  zeros  in  the
  146.           corresponding clear indication packet, or considering the  clear  request  as  an
  147.           error and following the procedure described in Annex C.
  148.                 The coding of the clearing cause  field  in  clear  indication  packets  is
  149.           given in Table 20/X.25.
  150.                                                  TABLE 20/X.25
  151.                            Coding of clearing cause field in clear indication packet
  152.                                                                  Bits
  153.                                                 8     7     6     5     4     3     2     1
  154.            DTE originated                        0     0     0     0     0     0     0     0
  155.            DTE originated a)                      1     X     X     X     X     X     X     X
  156.            Number busy                           0   
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.           PAGE70  Fascicle VIII.8 - X.25
  213.  
  214.                                                        0     0     0     0     0     0     1
  215.            Out of order                          0     0     0     0     1     0     0     1
  216.            Remote procedure error                0     0     0     1     0     0     0     1
  217.            Reverse charging acceptance not       0     0     0     1     1     0     0   
  218.           subscribed b)                         
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  284.  
  285.                                                                                            1
  286.            Incompatible destination              0     0     1     0     0     0     0     1
  287.            Fast select acceptance not            0     0     1     0     1     0     0     1
  288.           subscribed b)                         
  289.            Ship absent c)                         0     0     1     1     1     0     0     1
  290.            Invalid facility request              0     0     0     0   
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.           PAGE70  Fascicle VIII.8 - X.25
  355.  
  356.                                                                          0     0     1     1
  357.            Acces barred                          0     0     0     0     1     0     1     1
  358.            Local procedure error                 0     0     0     1     0     0     1     1
  359.            Network congestion                    0     0     0     0     0     1     0     1
  360.            Not obtainable                        0   
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  426.  
  427.                                                       0     0     0     1     1     0     1
  428.           RPOA out of order b)                   0     0     0     1     0     1     0     1
  429.               a) When bit 8 is set to 1, the bits represented by Xs are those included by the 
  430.              remote DTE in the clearing or restarting cause field of the clear or restart 
  431.              request packet respectively.
  432.              b) May be received only if the corresponding optional user facility is used.
  433.              c) Used in the conjunction with mobile maritime service.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.          PAGE70  Fascicle VIII.8 - X.25
  497.  
  498.                  5.2.4.1.2 Diagnostic code
  499.                 Octet 5 is the diagnostic code and contains additional information  on  the
  500.           reason for the clearing of the call.
  501.                 In a clear request packet, the diagnostic code is not mandatory.
  502.                 In a clear indication packet, if the clearing cause  field  indicates  "DTE
  503.           originated", the diagnostic code is passed unchanged from the  clearing  DTE.  If
  504.           the clearing DTE has not provided a diagnostic code in its clear request  packet,
  505.           then the bits of the diagnostic code in the  resulting  clear  indication  packet
  506.           will all be zero.
  507.                 When a clear indication packet results from a restart request  packet,  the
  508.           value of the diagnostic code will  be  that  specified  in  the  restart  request
  509.           packet, or all zeros in the case where no diagnostic code has been  specified  in
  510.           the restart request packet.
  511.                 When the clearing cause field  does  not  indicate  "DTE  originated",  the
  512.           diagnostic code in a clear indication packet is network generated. Annex E  lists
  513.           the codings for network generated diagnostics. The bits of  the  diagnostic  code
  514.           are all set to 0 when no specific additional  information  for  the  clearing  is
  515.           supplied.
  516.                 Note - The contents of the diagnostic code field do not alter  the  meaning
  517.           of the cause field. A DTE is not required to undertake any action on the contents
  518.           of the diagnostic code field. Unspecified code  combinations  in  the  diagnostic
  519.           code field shall not cause the DTE to refuse the cause field.
  520.           5.2.4.2   Extended format
  521.                 The extended format is used for clear request and clear indication  packets
  522.           only when the DTE or the DCE need to use the called and/or  calling  DTE  address
  523.           fields, the facility field and/or the clear user data field in  conjunction  with
  524.           one or several optional user facilities described in SS 6 and 7. The  called  DTE
  525.           address field is used only when the called  line  address  modified  notification
  526.           facility is used in clearing, in response to an incoming  call  or  call  request
  527.           packet.
  528.                 When the extended format is  used,  the  diagnostic  code  field,  the  DTE
  529.           address length fields and the facility length field must be present.  Optionally,
  530.           the clear user data field may also be present.
  531.           5.2.4.2.1 Address block
  532.                 The address block is described in S 5.2.1.
  533.           5.2.4.2.2 Facility length field
  534.                 The octet following the address block indicates the length of the  facility
  535.           field, in octets. The facility length indicator is binary coded and bit 1 is  the
  536.           low order bit of the indicator.
  537.           5.2.4.2.3 Facility field
  538.                 The facility field is present in the clear request or the clear  indication
  539.           packet only in conjunction with one or several optional user facilities requiring
  540.           some indication in this packet.
  541.                 The coding of the facility field is defined in SS 6 and 7.
  542.                 The facility field contains  an  integral  number  of  octets.  The  actual
  543.           maximum length of this field depends on the facilities which are offered  by  the
  544.           network. However, this maximum does not exceed 109 octets.
  545.                 Note - It is for further study whether another  value  should  be  defined,
  546.           relative to the total number of octets in the packet.
  547.           5.2.4.2.4 Clear user data field
  548.                 This field may  be  present  only  in  conjunction  with  the  fast  select
  549.           facility (see S 6.16) or the call deflection selection facility (see S 6.25.2.2).
  550.           It has a maximum length of 128 octets in the first case, of 16 or 128  octets  in
  551.           the second case: whether the maximum length is 16 or 128 octets  when  using  the
  552.           call deflection selection facility is specified in S 6.25.2.2.
  553.                 Note 1 - Some networks require the clear user  data  field  to  contain  an
  554.           integral number of octets (see the note in S 3).
  555.                 Note 2 - The network does not act on  any  part  of  the  clear  user  data
  556.           field. See Recommendation X.244.
  557.           5.2.5  DTE and DCE clear confirmation packets
  558.                 Figure 9/X.25 illustrates the format of the DTE and DCE clear  confirmation
  559.           packets, in the basic or extended format.
  560.                                                    Bits
  561.                       8          7         6         5         4         3         2         1
  562.           Octet                                                                               
  563.             s    
  564.              1      General format identifier (see Note)         Logical channel group number
  565.              2                                Logical channel number
  566.              3    
  567.  
  568.  
  569.  
  570.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  571.  
  572.                                                Packet type identifier
  573.                       0          0         0         1         0         1         1         1
  574.             4                                    Address block a) 
  575.                                                    (see S 5.2.1)
  576.                                                  Facility length a)
  577.                                                     Facilities a)
  578.            a)      Used only in the extended format of DCE clear confirmation packets.
  579.           Note - Coded X001 (modulo 8) or X010 (modulo 128).
  580.                                                  FIGURE 9/X.25
  581.                                  DTE and DCE clear confirmation packet format
  582.                 The extended format may be used for DCE clear confirmation packets only  in
  583.           conjunction with the charging information facility described in S 6.22. It is not
  584.           used for DTE clear confirmation packet.
  585.           5.2.5.1   Address block
  586.                 The address block is described in S 5.2.1.
  587.                 The calling and called DTE address length fields are coded with  all  zeros
  588.           and the called and calling DTE address fields are not present.
  589.           5.2.5.2   Facility length field
  590.                 The octet following the address block indicates the length of the  facility
  591.           field, in octets. The facility length indicator is binary coded and bit 1 is  the
  592.           low order bit of the indicator.
  593.           5.2.5.3   Facility field
  594.                 The coding of the facility field is defined in SS 6 and 7.
  595.                 The facility field contains  an  integral  number  of  octets.  The  actual
  596.           maximum length of this field depends on the facilities which are offered  by  the
  597.           network. However, this maximum does not exceed 109 octets.
  598.                 Note - It is for further study whether another  value  should  be  defined,
  599.           relative to the total number of octets in the packet.
  600.           5.3    Data and interrupt packets
  601.           5.3.1  DTE and DCE data packets
  602.                 Figure 10/X.25 illustrates the format of the DTE and DCE data packets.
  603.                                                    Bits
  604.                       8          7         6         5         4         3         2     
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.           PAGE70  Fascicle VIII.8 - X.25
  642.  
  643.                                                                                                    1
  644.           Octet                                                                               
  645.             s    
  646.              1           General format identifier              Logical channel group number
  647.                       Q          D          0          1                                       
  648.              2                                Logical channel number
  649.             3                P(R)                  M                  P(S)                  0
  650.                                                      User data
  651.                                                     (Modulo 8)
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  713.  
  714.                                                    Bits
  715.                       8          7         6         5         4         3         2         1
  716.           Octet                                                                               
  717.             s    
  718.              1           General format identifier              Logical channel group number
  719.                       Q          D          1          0                                       
  720.              2                                Logical channel number
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.           PAGE70  Fascicle VIII.8 - X.25
  784.  
  785.             3                                    P(S)                                      0
  786.                                                  P(R)                                      M
  787.            4                                       User data
  788.          (When extended to modulo 128)
  789.          D       Delivery confirmation bit
  790.          M       More data bit
  791.          Q       Qualifier bit
  792.                                                FIGURE 10/X.25
  793.                                        DTE and DCE data packet format
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  855.  
  856.                  5.3.1.1   Qualifier (Q) bit
  857.                 Bit 8 of octet 1 is the qualifier (Q) bit.
  858.           5.3.1.2   Delivery confirmation (D) bit
  859.                 Bit 7 of octet 1 is the delivery confirmation (D) bit.
  860.           5.3.1.3   Packet receive sequence number
  861.                 Bits 8, 7 and 6 of octet 3, or bits 8 through 2 of octet 4  when  extended,
  862.           are used for indicating the packet receive sequence number P(R). P(R)  is  binary
  863.           coded and bit 6, or bit 2 when extended, is the low order bit.
  864.           5.3.1.4   More Data bit
  865.                 Bit 5 in octet 3, or bit 1 in octet 4 when extended, is used for  the  More
  866.           Data       (M   bit):   0   for   no   more   data   and   1    for
  867.           more data.
  868.           5.3.1.5   Packet send sequence number
  869.                 Bits 4, 3 and 2 of octet 3, or bits 8 through 2 of octet 3  when  extended,
  870.           are used for indicating the packet send sequence  number  P(S).  P(S)  is  binary
  871.           coded and bit 2 is the low order bit.
  872.           5.3.1.6   User data field
  873.                 Bits following octet 3, or octet 4 when extended, contain user data.
  874.                 Note - Some networks require the user data field  to  contain  an  integral
  875.           number of octets (see the note in S 3).
  876.           5.3.2  DTE and DCE interrupt packets
  877.                 Figure 11/X.25  illustrates  the  format  of  the  DTE  and  DCE  interrupt
  878.           packets.
  879.  
  880.                                                    Bits
  881.                       8          7         6         5         4         3         2         1
  882.           Octet                                                                               
  883.             s    
  884.              1      General format identifier (see Note)         Logical channel group number
  885.              2                                Logical channel number
  886.              3    
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.           PAGE70  Fascicle VIII.8 - X.25
  926.  
  927.                                               Packet type identifier
  928.                      0          0          1          0          0          0          1          1
  929.            4                                  Interrupt user data
  930.           Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  931.                                                FIGURE 11/X.25
  932.                                      DTE and DCE interrupt packet format
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  997.  
  998.                  5.3.2.1   Interrupt user data field
  999.                 Octet 4 and any following octets contain  the  interrupt  user  data.  This
  1000.           field may contain from 1 to 32 octets.
  1001.                 Note - Some networks require the interrupt user data field  to  contain  an
  1002.           integral number of octets (see the note in S 3).
  1003.           5.3.3  DTE and DCE interrupt confirmation packets
  1004.                 Figure 12/X.25  illustrates  the  format  of  the  DTE  and  DCE  interrupt
  1005.           confirmation packets.
  1006.                                                    Bits
  1007.                       8          7         6         5         4         3         2         1
  1008.           Octet                                                                               
  1009.             s    
  1010.              1      General format identifier (see Note)         Logical channel group number
  1011.              2                                Logical channel number
  1012.              3                                 Packet type identifier
  1013.                       0          0         1      
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.           PAGE70  Fascicle VIII.8 - X.25
  1068.  
  1069.                                                       0          0          1          1          1
  1070.           Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  1071.                                                FIGURE 12/X.25
  1072.                               DTE and DCE interrupt confirmation packet format
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  1139.  
  1140.                  5.4    Flow control and reset packets
  1141.           5.4.1  DTE and DCE receive ready (RR) packets
  1142.                 Figure 13/X.25 illustrates the format of the DTE and DCE RR packets.
  1143.                                                    Bits
  1144.                       8          7         6         5         4         3         2         1
  1145.           Octet                                                                               
  1146.             s    
  1147.              1           General format identifier              Logical channel group number
  1148.                       0          0          0          1                                       
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.           PAGE70  Fascicle VIII.8 - X.25
  1210.  
  1211.              2                                Logical channel number
  1212.             3                P(R)                  0          0          0          0          1
  1213.                                                     (Modulo 8)
  1214.                                                    Bits
  1215.                       8          7         6         5         4         3         2         1
  1216.           Octet                                                                               
  1217.             s    
  1218.              1           General format identifier              Logical channel group number
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  1281.  
  1282.                      0          0          1          0                                       
  1283.             2                                Logical channel number
  1284.            3                                Packet type identifier
  1285.                      0          0          0          0          0          0          0          1
  1286.            4    P(R)                                                                       0
  1287.                  (When extended to modulo 128)                                          
  1288.                                                FIGURE 13/X.25
  1289.                                         DTE and DCE RR packet format
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.          PAGE70  Fascicle VIII.8 - X.25
  1352.  
  1353.                  5.4.1.1   Packet receive sequence number
  1354.                 Bits 8, 7 and 6 of octet 3, or bits 8 through 2 of octet 4  when  extended,
  1355.           are used for indicating the packet receive sequence number P(R). P(R)  is  binary
  1356.           coded and bit 6, or bit 2 when extended, is the low order bit.
  1357.           5.4.2  DTE and DCE receive not ready (RNR) packets
  1358.                 Figure 14/X.25 illustrates the format of the DTE and DCE RNR packets.
  1359.                                                    Bits
  1360.                       8          7         6         5         4         3         2         1
  1361.           Octet                                                                               
  1362.             s    
  1363.              1           General format identifier              Logical channel group number
  1364.                       0          0          0          1                                       
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  1423.  
  1424.                                                                                                
  1425.              2                                Logical channel number
  1426.             3                P(R)                  0          0          1          0          1
  1427.                                                     (Modulo 8)
  1428.                                                    Bits
  1429.                       8          7         6         5         4         3         2         1
  1430.           Octet                                                                               
  1431.             s    
  1432.              1           General format identifier        
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.           PAGE70  Fascicle VIII.8 - X.25
  1494.  
  1495.                                                                 Logical channel group number
  1496.                      0          0          1          0                                       
  1497.             2                                Logical channel number
  1498.                                              Packet type identifier
  1499.            3        0          0          0          0          0          1          0          1
  1500.            4                                    P(R)                                      0
  1501.                                            (When extended to modulo 8)
  1502.                                                FIGURE 14/X.25
  1503.                                         DTE and DCE RNR packet format
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  1565.  
  1566.                  5.4.2.1   Packet receive sequence number
  1567.                 Bits 8, 7 and 6 of octet 3, or bits 8 through 2 of octet 4  when  extended,
  1568.           are used for indicating the packet receive sequence number P(R). P(R)  is  binary
  1569.           coded and bit 6, or bit 2 when extended, is the low order bit.
  1570.           5.4.3  Reset request and reset indication packets
  1571.                 Figure 15/X.25 illustrates the  format  of  the  reset  request  and  reset
  1572.           indication packets.
  1573.                                                    Bits
  1574.                       8          7         6         5         4         3         2         1
  1575.           Octet                                                                               
  1576.             s    
  1577.              1           General format identifier              Logical channel group number
  1578.             2                                Logical channel number
  1579.             3                                Packet type identifier
  1580.                       0          0          0      
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.           PAGE70  Fascicle VIII.8 - X.25
  1636.  
  1637.                                                        1          1          0          1          1
  1638.             4                                    Resetting cause
  1639.             5                                  Diagnostic code a)
  1640.            a)      This field is not mandatory in reset request packets.
  1641.           Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  1642.                                                 FIGURE 15/X.25
  1643.                                Reset request and reset indication packet format
  1644.           5.4.3.1   Resetting cause field
  1645.                 Octet 4 is the resetting cause  field  and  contains  the  reason  for  the
  1646.           reset.
  1647.                 In reset request packets, the resetting cause field should be  set  by  the
  1648.           DTE to one of the following values:
  1649.                                          bits:      8 7 6 5 4 3 2 1
  1650.                                            value: 0 0 0 0 0 0 0 0
  1651.                                              or: 1 X X X X X X X
  1652.           where each X may be independently set to 0 or 1 by the DTE.
  1653.                 The DCE will prevent values of the resetting cause field, other than  those
  1654.           shown above, from reaching the other end of the virtual call or permanent virtual
  1655.           circuit by either accepting the reset request packet and  forcing  the  resetting
  1656.           cause field to all  zeros  in  the  corresponding  reset  indication  packet,  or
  1657.           considering the reset request as an error and following the  procedure  described
  1658.           in Annex C.
  1659.                 The coding of the resetting cause field in a  reset  indication  packet  is
  1660.           given in Table 21/X.25.
  1661.                                                  TABLE 21/X.25
  1662.                           Coding of resetting cause field in reset indication packet
  1663.                                                             Bits
  1664.                                            8     7     6     5     4     3     2     1
  1665.            DTE originated                   0     0     0     0   
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  1707.  
  1708.                                                                     0     0     0     0
  1709.            DTE originated a)                 1     X     X     X     X     X     X     X
  1710.            Out or order b)                   0     0     0     0     0     0     0     1
  1711.            Remote procedure error           0     0     0     0     0     0     1     1
  1712.            Local procedure error            0   
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.           PAGE70  Fascicle VIII.8 - X.25
  1778.  
  1779.                                                   0     0     0     0     1     0     1
  1780.            Network congestion               0     0     0     0     0     1     1     1
  1781.            Remote DTE operational b)         0     0     0     0     1     0     0     1
  1782.            Network operational b)            0     0     0     0     1     1     1   
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  1849.  
  1850.                                                                                      1
  1851.           Incompatible destination         0     0     0     1     0     0     0     1
  1852.           Network out of order b)           0     0     0     1     1     1     0     1
  1853.                  a)  When bit 8 is set to 1, the bits represented by Xs are those indicated 
  1854.                 by the remote DTE in the resetting cause field (virtual calls and 
  1855.                 permanent virtual circuits) or the restarting cause field (permanent 
  1856.                 virtual circuits only) of the reset or restart request packet, 
  1857.                 respectively.
  1858.                 b)  Applicable to permanent virtual circuits only.
  1859.          5.4.3.2   Diagnostic code
  1860.                Octet 5 is the diagnostic code and contains additional information  on  the
  1861.          reason for the reset.
  1862.                In a reset request packet the diagnostic code is not mandatory.
  1863.                In a reset indication packet, if the resetting cause field  indicates  "DTE
  1864.          originated", the diagnostic code has been passed  unchanged  from  the  resetting
  1865.          DTE. If the DTE requesting a reset has not provided  a  diagnostic  code  in  its
  1866.          reset request packet, then the bits of the diagnostic code in the resulting reset
  1867.          indication packet will all be zeros.
  1868.                When a reset indication packet results from a restart request  packet,  the
  1869.          value of the diagnostic code will  be  that  specified  in  the  restart  request
  1870.          packet, or all zeros in the case where no diagnostic code has been  specified  in
  1871.          the restart request packet.
  1872.                When the resetting cause field does  not  indicate  "DTE  originated",  the
  1873.          diagnostic code in a reset indication packet is network generated. Annex E  lists
  1874.          the codings for network generated diagnostics. The bits of  the  diagnostic  code
  1875.          are all set to 0 when  no  specific  additional  information  for  the  reset  is
  1876.          supplied.
  1877.                Note - The contents of the diagnostic code field do not alter  the  meaning
  1878.          of the cause field. A DTE is not required to undertake any action on the contents
  1879.          of the diagnostic code field. Unspecified code  combinations  in  the  diagnostic
  1880.          code field shall not cause the DTE to not accept the cause field.
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.          PAGE70  Fascicle VIII.8 - X.25
  1920.  
  1921.                  5.4.4  DTE and DCE reset confirmation packets
  1922.                 Figure  16/X.25  illustrates  the  format  of  the  DTE   and   DCE   reset
  1923.           confirmation packets.
  1924.                                                    Bits
  1925.                        8        7         6         5         4         3         2         1
  1926.            Octets                                                                             
  1927.               1        General format identifier (see           Logical channel group number
  1928.                                     Note)                 
  1929.               2                                Logical channel number
  1930.               3                                Packet type identifier
  1931.                         0        0         0          1      
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  1991.  
  1992.                                                                   1          1          1          1
  1993.           Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  1994.                                                 FIGURE 16/X.25
  1995.                                  DTE and DCE reste confirmation packet format
  1996.           5.5    Restart packets
  1997.           5.5.1  Restart request and restart indication packets
  1998.                 Figure 17/X.25 illustrates the format of the restart  request  and  restart
  1999.           indication packets.
  2000.                                                        Bits
  2001.                   
  2002.                       8          7         6         5         4         3         2         1
  2003.           Octet                                                                               
  2004.             s    
  2005.              1      General format identifier (see Note)       0          0          0      
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.           PAGE70  Fascicle VIII.8 - X.25
  2062.  
  2063.                                                                                                0
  2064.            2        0          0          0          0          0          0          0          0
  2065.             3                                 Packet type identifier
  2066.                      1          1          1          1          1          0          1          1
  2067.             4                                   Restarting cause
  2068.             5                                   Diagnostic code a)
  2069.           a)      This field is not mandatory in restart request packets.
  2070.          Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  2071.                                                FIGURE 17/X.25
  2072.                             Restart request and restart indication packet format
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  2133.  
  2134.                  5.5.1.1   Restarting cause field
  2135.                 Octet 4 is the restarting cause field  and  contains  the  reason  for  the
  2136.           restart.
  2137.                 In restart request packets, the restarting cause field  should  be  set  by
  2138.           the DTE to one of the following values:
  2139.                                            bits:  8 7 6 5 4 3 2 1
  2140.                                            value: 0 0 0 0 0 0 0 0
  2141.                                              or: 1 X X X X X X X
  2142.           where each X may be independently set to 0 or 1 by the DTE.
  2143.                 The DCE will prevent values of  the  restarting  cause  field,  other  than
  2144.           those shown above, from reaching the  other  end  of  the  virtual  calls  and/or
  2145.           permanent virtual circuits by either accepting the  restart  request  packet  and
  2146.           forcing the clearing or resetting cause field to all zeros in  the  corresponding
  2147.           clear and/or reset indication packets, or considering the restart request  as  an
  2148.           error and following the procedure described in Annex C.
  2149.                 The coding of the restarting cause field in the restart indication  packets
  2150.           is given in Table 22/X.25.
  2151.                                                  TABLE 22/X.25
  2152.                          Coding of restarting cause field in restart indication packet
  2153.                                                             Bits
  2154.                                            8     7     6     5     4     3     2     1
  2155.            Local procedure error            0     0     0     0     0     0     0     1
  2156.            Network congestion               0     0     0     0     0   
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.           PAGE70  Fascicle VIII.8 - X.25
  2204.  
  2205.                                                                          0     1     1
  2206.           Network operational              0     0     0     0     0     1     1     1
  2207.           Registration/cancellation        0     1     1     1     1     1     1     1
  2208.          confirmed a)                     
  2209.                  a)  May be received only if the optional on-line facility registration 
  2210.                 facility is used.
  2211.          5.5.1.2   Diagnostic code
  2212.                Octet 5 is the diagnostic code and contains additional information  on  the
  2213.          reason for the restart.
  2214.                In a restart request packet, the diagnostic  code  is  not  mandatory.  The
  2215.          diagnostic code, if specified,  is  passed  to  the  corresponding  DTEs  as  the
  2216.          diagnostic code of a reset indication packet for permanent virtual circuits or  a
  2217.          clear indication packet for virtual calls.
  2218.                The coding of the diagnostic code field in a restart indication  packet  is
  2219.          given in Annex E. The bits of the diagnostic code are all set  to  zero  when  no
  2220.          specific additional information for the restart is supplied.
  2221.                Note - The contents of the diagnostic code field do not alter  the  meaning
  2222.          of the cause field. A DTE is not required to undertake any action on the contents
  2223.          of the diagnostic code field. Unspecified code  combinations  in  the  diagnostic
  2224.          code field shall not cause the DTE to not accept the cause field.
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  2275.  
  2276.                  5.5.2  DTE and DCE restart confirmation packets
  2277.                 Figure  18/X.25  illustrates  the  format  of  the  DTE  and  DCE   restart
  2278.           confirmation packets.
  2279.                                                     Bits
  2280.                       8          7         6         5         4         3         2         1
  2281.           Octet                                                                               
  2282.             s    
  2283.              1      General format identifier (see Note)       0          0          0          0
  2284.              2        0         0         0         0         0     
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.           PAGE70  Fascicle VIII.8 - X.25
  2346.  
  2347.                                                                              0         0         0
  2348.              3                                 Packet type identifier
  2349.                       1         1         1         1         1         1         1         1
  2350.            Note - Coded 0001 (modulo 8) or 0010 (modulo 128).
  2351.                                                 FIGURE 18/X.25
  2352.                                 DTE and DCE restart confirmation packet format
  2353.           5.6    Diagnostic packet
  2354.                 Figure 19/X.25 illustrates the format of the diagnostic packet.
  2355.                                                    Bits
  2356.                       8          7         6         5         4         3         2         1
  2357.           Octet                                                         
  2358.             s    
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  2417.  
  2418.                                                                                                
  2419.              1      General format identifier (see Note        0         0         0         0
  2420.                                     1)                    
  2421.              2        0         0         0         0         0         0         0         0
  2422.              3                                 Packet type identifier
  2423.                       1         1         1         1         0         0         0         1
  2424.              4                                    Diagnostic code
  2425.              5                          Diagnostic explanation (see Note 2)
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.           PAGE70  Fascicle VIII.8 - X.25
  2488.  
  2489.          Note 1 - Coded 0001 (modulo 8) or 0010 (modulo 128).
  2490.          Note 2 - The figure is drawn assuming the diagnostic explanation field is an integral 
  2491.          number of octets in length.
  2492.                                                FIGURE 19/X.25
  2493.                                           Diagnostic packet format
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  2559.  
  2560.                  5.6.1  Diagnostic code field
  2561.                 Octet 4 is the diagnostic  code  and  contains  information  on  the  error
  2562.           condition which resulted in the transmission of the diagnostic packet. The coding
  2563.           of the diagnostic code field is given in Annex E.
  2564.           5.6.2  Diagnostic explanation field
  2565.                 When the diagnostic packet is issued as a result of  the  reception  of  an
  2566.           erroneous packet from the DTE (see Tables  C-1/X.25  and  C-2/X.25),  this  field
  2567.           contains the first three octets of header  information  from  the  erroneous  DTE
  2568.           packet. If the packet contains less than 3 octets, this field  contains  whatever
  2569.           bits were received.
  2570.                 When the diagnostic packet is issued as a result of  a  DCE  time-out  (see
  2571.           Table D-1/X.25), the diagnostic explanation field  contains  2  octets  coded  as
  2572.           follows:
  2573.                  -   bits 8, 7, 6 and 5 of the  first  octet  contain  the  general  format
  2574.                      identifier for the interface;
  2575.                  -   bits 4 to 1 of the first octet and bits 8 to 1 of the second octet are
  2576.                      all 0 for expiration of time-out T10 and give the number of the logical
  2577.                      channel on which the time-out occurred for expiration of  time-out  T12
  2578.                      or T13.
  2579.           5.7    Packets required for optional user facilities
  2580.           5.7.1  DTE reject (REJ) packet for the packet retransmission facility
  2581.                 Figure 20/X.25 illustrates the format  of  the  DTE  REJ  packet,  used  in
  2582.           conjunction with the packet retransmission facility described in S 6.4.
  2583.                                                     Bits
  2584.                          8          7         6         5         4         3         2         1
  2585.             Octets                                                                                
  2586.               1            General format identifier               Logical channel group number
  2587.                          0         0         0     
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.           PAGE70  Fascicle VIII.8 - X.25
  2630.  
  2631.                                                           1                                      
  2632.               2                                 Logical channel number
  2633.               3                                                    Packet type identifier
  2634.                                   P(R)                  0          1          0          0         1
  2635.                      (Modulo                                                                      
  2636.                      8)         
  2637.                                                     Bits
  2638.                          8          7         6     
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  2701.  
  2702.                                                           5         4         3         2         1
  2703.            Octets                                                                                
  2704.               1            General format identifier             Logical channel group number
  2705.                          0         0         1         0                                      
  2706.               2                                 Logical channel number
  2707.               3                                  Packet type identifier
  2708.                          0         0     
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.           PAGE70  Fascicle VIII.8 - X.25
  2772.  
  2773.                                               0         0         1         0         0         1
  2774.              4                                      P(R)                                      0
  2775.                                              (When extended to modulo 128)
  2776.                                                FIGURE 20/X.25
  2777.                                             DTE REJ packet format
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  2843.  
  2844.                  5.7.1.1   Packet receive sequence number
  2845.                 Bits 8, 7 and 6 of octet 3, or bits 8 through 2 of octet 4  when  extended,
  2846.           are used for indicating the packet receive sequence number P(R). P(R)  is  binary
  2847.           coded and bit 6, or bit 2 when extended, is the low order bit.
  2848.           5.7.2  Registration packets for the on-li e  facility  registration
  2849.                  facility
  2850.           5.7.2.1   Registration request packet
  2851.                 Figure 21/X.25 illustrates the format of the registrat e s t 
  2852.           packet.
  2853.                                                     Bits
  2854.                          8          7         6         5         4         3         2         1
  2855.            Octets                                                                                
  2856.               1     General format identifier (see Note 1)      0         0         0         0
  2857.               2         0         0         0     
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.           PAGE70  Fascicle VIII.8 - X.25
  2914.  
  2915.                                                           0         0         0         0         0
  2916.               3                                  Packet type identifier
  2917.                          1         1         1         1         0         0         1         1
  2918.               4                DTE address length                       DCE address length
  2919.                                            DCE and DTE address(es) (see Note 2)
  2920.                                                                      0          0         0         0
  2921.                          0                              Registration length
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  2985.  
  2986.                                                      Registration
  2987.           Note 1 - Coded 0001 (modulo 8) or 0010 (modulo 128).
  2988.          Note 2 - The figure is drawn assuming the total number of address digits present is odd.
  2989.                                                FIGURE 21/X.25
  2990.                                      Registration request packet format
  2991.          5.7.2.1.1 Address length fields
  2992.                Octet 4 consists of the  field  length  indicators  for  the  DTE  and  DCE
  2993.          addresses. Bits 4, 3, 2  and  1  indicate  the  length  of  the  DCE  address  in
  2994.          semi-octets. Bits 8, 7, 6 and 5  indicate  the  length  of  the  DTE  address  in
  2995.          semi-octets. Each address length indicator is binary coded and bit 1 or 5 is  the
  2996.          low order bit of the indicator.
  2997.                These fields are  coded  with  all  zeros  under  the  procedures  in  this
  2998.          Recommendation.
  2999.          5.7.2.1.2 Address field
  3000.                Octet 5 and the following octets consist of the DCE address, when  present,
  3001.          and the DTE address, when present.
  3002.                Each digit of an address is coded in a semi-octet in binary  coded  decimal
  3003.          with bit 5 or 1 being the low order bit of the digit.
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.          PAGE70  Fascicle VIII.8 - X.25
  3056.  
  3057.                 Starting from the high order digit, the address is coded  in  octet  5  and
  3058.           consecutive octets with two digits per octet. In each  octet,  the  higher  order
  3059.           digit is coded in bits 8, 7, 6 and 5.
  3060.                 The address field shall be rounded up to an integral number  of  octets  by
  3061.           inserting zeros in bits 4, 3, 2 and 1  of  the  last  octet  of  the  field  when
  3062.           necessary.
  3063.                 This field is not present under the procedures in this Recommendation.
  3064.           5.7.2.1.3 Registration length field
  3065.                 The  octet  following  the  address  field  indicates  the  length  of  the
  3066.           registration field in octets. The registration length indicator is  binary  coded
  3067.           and bit 1 is the low order bit of the indicator.
  3068.           5.7.2.1.4 Registration field
  3069.                 The registration field is present only when the DTE wishes to  request  the
  3070.           DCE to agree to, or to stop a previous agreement for, an optional user facility.
  3071.                 The coding of the registration field is defined in S 7.3.
  3072.                 The registration field contains an integral number of  octets.  The  actual
  3073.           maximum length of this field depends on the network. However, this  maximum  does
  3074.           not exceed 109 octets.
  3075.           5.7.2.2   Registration confirmation packet
  3076.                 Figure 18/X.25 illustrates the  format  of  the  registration  confirmation
  3077.           packet.
  3078.                                                     Bits
  3079.                          8          7         6         5         4         3         2         1
  3080.            Octets                                                                                
  3081.               1     General format identifier (see Note 1)      0         0         0         0
  3082.               2         0         0         0     
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.                                                         Fascicle VIII.2 - Rec. X.25  PAGE93
  3127.  
  3128.                                                           0         0         0         0         0
  3129.               3                                  Packet type identifier
  3130.                          1         1         1         1         0         0         1         1
  3131.                                                           Cause
  3132.                                                        Diagnostic
  3133.               4                DTE address length                       DCE address length
  3134.                                            DCE and DTE address(es) (see Note 2)
  3135.                                                                      0          0         0     
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194.  
  3195.  
  3196.  
  3197.           PAGE70  Fascicle VIII.8 - X.25
  3198.  
  3199.                                                                                                      0
  3200.                         0                              Registration length
  3201.                                                      Registration
  3202.           Note 1 - Coded 0001 (modulo 8) or 0010 (modulo 128).
  3203.          Note 2 - The figure is drawn assuming the total number of address digits present is odd.
  3204.                                                FIGURE 22/X.25
  3205.                                    Registration confirmation packet format
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  3269.  
  3270.                  5.7.2.2.1 Cause field
  3271.                 Octet 4 is the cause field  and  contains  the  cause  of  any  failure  in
  3272.           negotiation of facilities or  an  indication  that  the  registration  field  was
  3273.           verified by the DCE.
  3274.                 The coding of the cause field in the registration  confirmation  packet  is
  3275.           shown in Table 23/X.25.
  3276.                                                  TABLE 23/X.25
  3277.                            Coding of cause field in registration confirmation packet
  3278.                                                             Bits
  3279.                                            8     7     6     5     4     3     2     1
  3280.            Registration/cancellation confirmed  0     1     1     1     1     1     1     1
  3281.            Invalid facility request         0     0     0     0     0     0     1     1
  3282.            Local procedure error          
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.           PAGE70  Fascicle VIII.8 - X.25
  3340.  
  3341.                                            0     0     0     1     0     0     1     1
  3342.           Network congestion               0     0     0     0     0     1     0     1
  3343.                5.7.2.2.2 Diagnostic code
  3344.                Octet 5 is the diagnostic code and contains additional information  on  the
  3345.          reason for failure of facilities negotiation.
  3346.                Annex E lists the coding for diagnostics. The bits of the  diagnostic  code
  3347.          are all  set  to  0  when  negotiation  is  successful,  or  when  no  additional
  3348.          information is supplied.
  3349.          5.7.2.2.3 Address length fields
  3350.                Octet 6 consists of the  field  length  indicators  for  the  DTE  and  DCE
  3351.          addresses. Bits 4, 3, 2  and  1  indicate  the  length  of  the  DCE  address  in
  3352.          semi-octets. Bits 8, 7, 6 and 5  indicate  the  length  of  the  DTE  address  in
  3353.          semi-octets. Each address length indicator is binary coded and bit 1 or 5 is  the
  3354.          low order bit of the indicator.
  3355.                These fields are  coded  with  all  zeros  under  the  procedures  in  this
  3356.          Recommendation.
  3357.          5.7.2.2.4 Address field
  3358.                Octet 7 and the following octets consist of the DCE address, when  present,
  3359.          and the DTE address, when present.
  3360.                Each digit of an address is coded in a semi-octet in binary  coded  decimal
  3361.          with bit 5 or 1 being the low order bit of the digit.
  3362.                Starting from the high order digit, the address is coded  in  octet  7  and
  3363.          consecutive octets with two digits per octet. In each  octet,  the  higher  order
  3364.          digit is coded in bits 8, 7, 6 and 5.
  3365.                The address field shall be rounded up to an integral number  of  octets  by
  3366.          inserting zeros in bits 4, 3, 2 and 1  of  the  last  octet  of  the  field  when
  3367.          necessary.
  3368.                This field is not present under the procedures in this Recommendation.
  3369.          5.7.2.2.5 Registration length field
  3370.                The  octet  following  the  address  field  indicates  the  length  of  the
  3371.          registration field, in octets. The registration length indicator is binary  coded
  3372.          and bit 1 is the low order bit of the indicator.
  3373.          5.7.2.2.6 Registration field
  3374.                The registration field is used to indicate which optional  user  facilities
  3375.          are available, and which are currently in effect.
  3376.                The coding of the registration field is defined in S 7.3.
  3377.                The registration field contains an integral number of  octets.  The  actual
  3378.          maximum length of this field depends on the network. However, this  maximum  does
  3379.          not exceed 109 octets.
  3380.          6      Procedures for optional user facilities (packet layer)
  3381.          6.1    On-line facility registration
  3382.                On-line facility registration is an optional user  facility  agreed  for  a
  3383.          period of time. This facility, if subscribed to, permits the DTE at any  time  to
  3384.          request registration of facilities, or obtain current  values  of  facilities  as
  3385.          understood  by  the  DCE,  by  transferring  across  the  DTE/DCE   interface   a
  3386.          registration request packet.
  3387.                The DCE will, in response to a  registration  packet,  report  the  current
  3388.          value of all facilities applicable to the DTE/DCE interface,  by  transferring  a
  3389.          registration  confirmation  packet  across  the   DTE/DCE   interface.   Optional
  3390.          facilities which are not offered by the network  will  not  be  reported  in  the
  3391.          registration confirmation packet. To avoid requesting  facilities  that  are  not
  3392.          available in a particular network, or values that are not allowed,  the  DTE  may
  3393.          transfer a registration request packet across the DTE/DCE interface containing no
  3394.          optional facilities. It may then modify any negotiable facilities reported in the
  3395.          corresponding  registration  confirmation  packet  by   transferring   a   second
  3396.          registration request packet across the DTE/DCE interface.
  3397.                When the DCE returns the registration confirmation packet,  the  facilities
  3398.          values shown are in effect for any subsequent virtual calls. The  values  of  the
  3399.          extended packet sequence numbering, packet retransmission, and D bit modification
  3400.          facilities and the allocation of logical channel type ranges can be modified only
  3401.          when there are no virtual calls (i.e., all  logical  channels  used  for  virtual
  3402.          calls are in state p1). When these facilities take effect and when there  is  one
  3403.          or more logical channels assigned to  permanent  virtual  circuits,  the  network
  3404.          restarts the interface with the cause "Registration/cancellation  confirmed"  and
  3405.          the diagnostic "No additional information" in order to change the values  of  the
  3406.  
  3407.  
  3408.  
  3409.  
  3410.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  3411.  
  3412.          permanent virtual circuits at the interface. At the remote end of each  permanent
  3413.          virtual circuit, the corresponding reset indication packet is sent with the cause
  3414.          "Remote DTE operational" and the diagnostic "No additional information".
  3415.                If a requested value of a particular  facility  is  not  allowed,  the  DCE
  3416.          shall report in the registration confirmation packet:
  3417.                a)  if the facility has a boolean value, the value allowed;
  3418.                b)  if the value is  greater  than  the  maximum  allowed  value  of  that
  3419.                   facility, the maximum allowed value; or
  3420.                c)  if the value is less than the minimum allowed value of that  facility,
  3421.                   the minimum allowed value.
  3422.                The registration confirmation packet  shall  also  contain  an  appropriate
  3423.          cause code. The DTE may choose to accept the value reported  by  the  DCE  or  to
  3424.          attempt to negotiate another value for the requested facilities.
  3425.                If the DCE cannot make all the modifications requested  in  a  registration
  3426.          request packet, it will not alter the values of some facilities. Circumstances in
  3427.          which the DCE can not make all of the modifications requested include:
  3428.                a)  conflict in facilities settings, and
  3429.                b)  when the interface has at least  one  virtual  call  established  when
  3430.                   attempting to negotiate those facilities that require all virtual  call
  3431.                   logical channels to be in state  p1  (including  the  collision  of  an
  3432.                   incoming call packet and a registration request packet).
  3433.                The DTE  should  wait  for  the  registration  confirmation  packet  before
  3434.          sending a call request packet,  or  sending  a  packet  on  a  permanent  virtual
  3435.          circuit.
  3436.                For every optional user facility, Annex F indicates:
  3437.                -   if the value of the facility may be negotiated;
  3438.                -   if the registration confirmation packets indicate whether or  not  the
  3439.                   facility is supported by the DCE;
  3440.                -   if the value of the facility may be altered by the DTE either only when 
  3441.                   every logical channel used for virtual calls is in state p1, or in  any
  3442.                   packet layer state.
  3443.                Indication in registration confirmation packet of whether the NUI  override
  3444.          facility is supported by the network is for further study.
  3445.                A fault condition within the network may affect the  facilities  previously
  3446.          negotiated by means of registration packets. In this situation, the DCE initiates
  3447.          the restart procedure to inform the DTE of the failure.
  3448.                A restart procedure initiated by the DTE does  not  affect  the  facilities
  3449.          values. When the DCE initiates  the  restart  procedure  with  the  cause  "Local
  3450.          procedure error", the facilities values are not affected. When the DCE  initiates
  3451.          the  restart  procedure  with  the  cause  "Network   congestion"   or   "Network
  3452.          operational", the values of facilities previously  negotiated  may  be  affected.
  3453.          When   the   DCE   initiates   the   restart    procedure    with    the    cause
  3454.          "Registration/cancellation confirmed", the facilities values are as  set  by  the
  3455.          related registration procedure.
  3456.          6.2    Extended packet sequence numbering
  3457.                Extended packet sequence numbering is an optional user facility agreed  for
  3458.          a period of time. It is common to all logical channels at the DTE/DCE interface.
  3459.                This user facility,  if  subscribed  to,  provides  sequence  numbering  of
  3460.          packets performed modulo 128. In the  absence  of  this  facility,  the  sequence
  3461.          numbering of packets is performed modulo 8.
  3462.          6.3    D bit modification
  3463.                D bit modification is an optional user facility  agreed  for  a  period  of
  3464.          time. This facility applies to all virtual calls and permanent  virtual  circuits
  3465.          at the DTE/DCE interface. This facility is only intended for use  by  those  DTEs
  3466.          implemented prior to the introduction of the D bit procedure which were  designed
  3467.          for operation on public data networks that support end-to-end P(R)  significance.
  3468.          It allows these DTEs to continue to operate  with  end-to-end  P(R)  significance
  3469.          within a national network.
  3470.                For  communication  within  the  national  network,  this  facility,   when
  3471.          subscribed to:
  3472.                a)  will change from 0 to 1 the value of bit 7 of  the  GFI  in  all  call
  3473.                   request and call accepted packets and the value of the D bit in all DTE
  3474.                   data packets received from the DTE, and
  3475.                b)  will set to 0 the value of bit 7 of the GFI in all incoming  call  and
  3476.                   call connected packets, and the value of the D  bit  in  all  DCE  data
  3477.  
  3478.  
  3479.  
  3480.  
  3481.          PAGE70  Fascicle VIII.8 - X.25
  3482.  
  3483.                packets transmitted to the DTE.
  3484.                For international operation, conversion b) above applies and conversion  a)
  3485.          above does not apply. Other conversion rules for international operation are  for
  3486.          bilateral agreement between Administrations.
  3487.          6.4    Packet retransmission
  3488.                Packet retransmission is an optional user facility agreed for a  period  of
  3489.          time. It is common to all logical channels at the DTE/DCE interface.
  3490.                This  user  facility,  if  subscribed  to,  allows   a   DTE   to   request
  3491.          retransmission of one or several consecutive DCE data packets  from  the  DCE  by
  3492.          transferring across the DTE/DCE  interface  a  DTE  reject  packet  specifying  a
  3493.          logical channel number and a sequence number P(R). The value of this P(R)  should
  3494.          be within the range from the last P(R)  received  by  the  DCE  up  to,  but  not
  3495.          including, the P(S) of the next DCE data packet to be transmitted by the DCE.  If
  3496.          the P(R) is outside this range, the DCE will initiate the  reset  procedure  with
  3497.          the cause "Local procedure error" and diagnostic ## 2.
  3498.                When receiving a DTE reject packet, the  DCE  initiates  on  the  specified
  3499.          logical channel retransmission of the DCE data packets, the packet send  sequence
  3500.          numbers of which are starting from P(R), where  P(R)  is  indicated  in  the  DTE
  3501.          reject packet. Until the DCE transfers across the DTE/DCE interface  a  DCE  data
  3502.          packet with a packet send sequence number equal to the P(R) indicated in the  DTE
  3503.          reject packet, the DCE will consider the receipt of another DTE reject packet  as
  3504.          a procedure error and reset the logical channel.
  3505.                Additional DCE data packets pending initial  transmission  may  follow  the
  3506.          retransmitted packet(s).
  3507.                A DTE receive not ready situation indicated by the transmission of  an  RNR
  3508.          packet is cleared by the transmission of a DTE reject packet.
  3509.                The conditions under  which  the  DCE  ignores  a  DTE  reject  packet,  or
  3510.          considers it as a procedure error, are those described for flow  control  packets
  3511.          (see Annex C).
  3512.          6.5    Incoming calls barred
  3513.                Incoming calls barred is an optional user facility agreed for a  period  of
  3514.          time. This facility applies to all logical channels used at the DTE/DCE interface
  3515.          for virtual calls.
  3516.                This user facility, if subscribed to, prevents incoming virtual calls  from
  3517.          being presented to the DTE. The DTE may originate outgoing virtual calls.
  3518.                Note 1 - Logical channels used for virtual calls retain their  full  duplex
  3519.          capability.
  3520.                Note 2 - Some Administrations  may  provide  a  capability  that  allows  a
  3521.          virtual call to be presented to the DTE  only  in  cases  where  the  called  DTE
  3522.          address is the address of the calling DTE.
  3523.          6.6    Outgoing calls barred
  3524.                Outgoing calls barred is an optional user facility agreed for a  period  of
  3525.          time. This facility applies to all logical channels used at the DTE/DCE interface
  3526.          for virtual calls.
  3527.                This user facility, if subscribed  to,  prevents  the  DCE  from  accepting
  3528.          outgoing virtual calls from the DTE. The DTE may receive incoming virtual calls.
  3529.                Note - Logical channels used for virtual calls  retain  their  full  duplex
  3530.          capability.
  3531.          6.7    One-way logical channel outgoing
  3532.                One-way logical channel outgoing is an optional user facility agreed for  a
  3533.          period of time. This user facility,  if  subscribed  to,  restricts  the  logical
  3534.          channel use to originating outgoing virtual calls only.
  3535.                Note - A logical channel used for virtual calls  retains  its  full  duplex
  3536.          capability.
  3537.                The rules according to which logical  channel  group  numbers  and  logical
  3538.          channel numbers can be assigned to one-way outgoing logical channels for  virtual
  3539.          calls are given in Annex A.
  3540.                Note - If all the logical channels for virtual calls are  one-way  outgoing
  3541.          at a DTE/DCE interface, the effect is equivalent to  the  incoming  calls  barred
  3542.          facility (see S 6.5, particularly Note 2).
  3543.          6.8    One-way logical channel incoming
  3544.                One-way logical channel incoming is an optional user facility agreed for  a
  3545.          period of time. This user facility,  if  subscribed  to,  restricts  the  logical
  3546.          channel use to receiving incoming virtual calls only.
  3547.                Note - A logical channel used for virtual calls  retains  its  full  duplex
  3548.  
  3549.  
  3550.  
  3551.  
  3552.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  3553.  
  3554.          capability.
  3555.                The rules according to which logical  channel  group  numbers  and  logical
  3556.          channel numbers can be assigned to one-way incoming logical channels for  virtual
  3557.          calls are given in Annex A.
  3558.                Note - If all the logical channels for virtual calls are  one-way  incoming
  3559.          at a DTE/DCE interface, the effect is equivalent to  the  outgoing  calls  barred
  3560.          facility (see S 6.6).
  3561.          6.9    Non-standard default packet sizes
  3562.                Non-standard default packet sizes is an optional user facility  agreed  for
  3563.          a period of time. This facility, if subscribed to, provides for the selection  of
  3564.          default  packet  sizes  from  the  list  of  packet  sizes   supported   by   the
  3565.          Administration. Some networks may constrain the packet sizes to be the  same  for
  3566.          each direction of data transmission across the DTE/DCE interface. In the  absence
  3567.          of this facility, the default packet sizes are 128 octets.
  3568.                Note - In this section, the term "packet sizes" refers to the maximum  user
  3569.          data field lengths ofDCE data and DTE data packets.
  3570.                Values other than the default packet sizes may be negotiated for a  virtual
  3571.          call by means of the flow control parameter negotiation facility  (see  S  6.12).
  3572.          Values other than the default packet sizes may be agreed for a period of time for
  3573.          each permanent virtual circuit.
  3574.          6.10   Non-standard default window sizes
  3575.                Non-standard default window sizes is an optional user facility  agreed  for
  3576.          a period of time. This facility, if subscribed to, provides for the selection  of
  3577.          default  window  sizes  from  the  list  of  window  sizes   supported   by   the
  3578.          Administration. Some networks may constrain the default window sizes  to  be  the
  3579.          same for each direction of data transmission across the DTE/DCE interface. In the
  3580.          absence of this facility, the default windonw sizes are 2.
  3581.                Values other than the default window sizes may be negotiated for a  virtual
  3582.          call by means of the flow control parameter  negotiation  facility  (see  S  12).
  3583.          Values other than the default window sizes may be agreed for a period of time for
  3584.          each permanent virtual circuit.
  3585.          6.11   Default throughput classes assignment
  3586.                Default throughput classes assignment is an optional user  facility  agreed
  3587.          for a period of time. This facility, if subscribed to, provides for the selection
  3588.          of default throughput classes from the list of throughput  classes  supported  by
  3589.          the Administration. Some networks may constrain the default throughput classes to
  3590.          be the same for each direction of data  transmission.  In  the  absence  of  this
  3591.          facility, the default throughput classes correspond to the user class of  service
  3592.          of the DTE (see S 7.2.2.2)  but  do  not  exceed  the  maximum  throughput  class
  3593.          supported by the network.
  3594.                The default throughput classes are the  maximum  throughput  classes  which
  3595.          may be associated with any virtual call at the DTE/DCE  interface.  Values  other
  3596.          than the default throughput classes may be negotiated for a virtual call by means
  3597.          of the throughput class negotiation facility (see S 6.13). Values other than  the
  3598.          default throughput classes may be agreed for a period of time for each  permanent
  3599.          virtual circuit.
  3600.                Note - Throughput characteristics and throughput class are described  in  S
  3601.          4.4.2.
  3602.          6.12   Flow control parameter negotiation
  3603.                Flow control parameter negotiation is an optional user facility agreed  for
  3604.          a period of time which can be used by a DTE for virtual calls. This facility,  if
  3605.          subscribed to, permits negotiation on a  per  call  basis  of  the  flow  control
  3606.          parameters. The flow control parameters considered  are  the  packet  and  window
  3607.          sizes at the DTE/DCE interface for each direction of data transmission.
  3608.                Note - In this section, the term "packet sizes" refers to the maximum  user
  3609.          data field lengths of DCE data and DTE data packets.
  3610.                In the absence of the flow  control  parameter  negotiation  facility,  the
  3611.          flow control parameters to be used at a  particular  DTE/DCE  interface  are  the
  3612.          default packet sizes (see S 6.9) and the default window sizes (see S 6.10).
  3613.                When  the  calling  DTE  has  subscribed  to  the  flow  control  parameter
  3614.          negotiation facility, it may request packet sizes and/or window  sizes  for  both
  3615.          direction of data transmission (see SS 7.2.1 and 7.2.2.1). If  particular  window
  3616.          sizes are not explicitly requested in acall request packet, the DCE  will  assume
  3617.          that the default  window  sizes  were  requested  for  both  directions  of  data
  3618.          transmission. If particular packet sizes are not explicitly  requested,  the  DCE
  3619.  
  3620.  
  3621.  
  3622.  
  3623.          PAGE70  Fascicle VIII.8 - X.25
  3624.  
  3625.          will assume that the default packet sizes were requested for both  directions  of
  3626.          data transmission.
  3627.                When a called DTE has subscribed to the flow control parameter  negotiation
  3628.          facility, each incoming call packet will indicate the  packet  and  window  sizes
  3629.          from which DTE negotiation can start. No relationship needs to exist between  the
  3630.          packet sizes (P) and window sizes (W) requested in the call  request  packet  and
  3631.          those indicated in the incoming call packet. The called DTE  may  request  window
  3632.          and packet sizes with facility in  the  call  accepted  packet.  The  only  valid
  3633.          facility requests in the call accepted packet, as  a  function  of  the  facility
  3634.          indications in the incoming call packet, are  given  in  Table  24/X.25.  If  the
  3635.          facility request is not made in the call accepted packet, the DTE is  assumed  to
  3636.          have accepted the indicated values (regardless of the default  values)  for  both
  3637.          directions of data transmission.
  3638.                                                 TABLE 24/X.25
  3639.           Valid facility requests in call accepted packets in response to facility indications in 
  3640.                                             incoming call packets
  3641.                      Facility indication                         Valid facility request
  3642.                         W(indicated)  2                        W(indicated)  W(requested)  2
  3643.                        W(indicated) = 1                           W(requested) = 1 or 2
  3644.                        P(indicated)  128                      P(indicated)  P(requested)  128
  3645.                       P(indicated) < 128                     128  P(requested)  P(indicated)
  3646.                When  the  calling  DTE  has  subscribed  to  the  flow  control  parameter
  3647.          negotiation facility, every call connected packet will indicate  the  packet  and
  3648.          window sizes to be used at the DTE/DCE interface for the  call.  The  only  valid
  3649.          facility indications in the call connected packet, as a function of the  facility
  3650.          requests in the call request packet, are given in Table 25/X.25.
  3651.                                                 TABLE 25/X.25
  3652.           Valid facility indications in call connected packets in response to facility requests in 
  3653.                                             call request packets
  3654.                      Facility indication                         Valid facility request
  3655.                         W(requested)  2                        W(requested)  W(indicated)  2
  3656.                        W(requested) = 1                           W(indicated) = 1 or 2
  3657.                        P(requested)  128                      P(requested)  P(indicated)  128
  3658.                       P(requested) < 128                     128  P(indicated)  P(requested)
  3659.                The network may have constraints  requiring  the  flow  control  parameters
  3660.          used for a call to be modified before indicating them to the DTE in the  incoming
  3661.          call packet or call connected  packet;  e.g.,  the  ranges  of  parameter  values
  3662.          available on various networks may differ.
  3663.                Window and packet sizes need not be the same  at  each  end  of  a  virtual
  3664.          call.
  3665.                The role of the DCE in negotiating  the  flow  control  parameters  may  be
  3666.          network dependent.
  3667.          6.13   Throughput class negotiation
  3668.                Throughput class negotiation is an optional  user  facility  agreed  for  a
  3669.          period of time which can be used by a DTE for virtual calls.  This  facility,  if
  3670.          subscribed to, permits negotiation on a per call basis of the throughput classes.
  3671.          The throughput classes are considered independently for each  direction  of  data
  3672.          transmission.
  3673.                Default values are agreed between the DTE and  the  Administration  (see  S
  3674.          6.11). The default values correspond to the maximum throughput classes which  may
  3675.          be associated with any virtual call at the DTE/DCE interface.
  3676.                When the calling DTE has subscribed to  the  throughput  class  negotiation
  3677.          facility, it may request the throughput classes of the virtual call in  the  call
  3678.          request packet for both  directions  of  data  transmission  (see  SS  7.2.1  and
  3679.          7.2.2.2). If particular throughput classes are not explicitly requested, the  DCE
  3680.          will assume that the default values were requested for both  directions  of  data
  3681.          transmission.
  3682.                When a called DTE  has  subscribed  to  the  throughput  class  negotiation
  3683.          facility, each incoming call packet will indicate  the  throughput  classes  from
  3684.          which DTE negotiation may start. These throughput classes are lower or  equal  to
  3685.          the ones selected at the calling DTE/DCE  interface,  either  explicitly,  or  by
  3686.          default if the calling DTE has not 
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  
  3692.  
  3693.  
  3694.                                                        Fascicle VIII.2 - Rec. X.25  PAGE93
  3695.  
  3696.          subscribed to  the  throughput  class  negotiation  facility  or  not  explicitly
  3697.          requested throughput class values in the call request  packet.  These  throughput
  3698.          classes indicated to the called DTE will also not  be  higher  than  the  default
  3699.          throughput classes, respectively for each direction of data transmission, at  the
  3700.          calling and the called DTE/DCE interfaces. They may  be  further  constrained  by
  3701.          internal limitations of the network.
  3702.                The called DTE may request with a facility  in  the  call  accepted  packet
  3703.          throughput classes that should finally apply to the virtual call. The only  valid
  3704.          throughput classes in the call accepted packet are lower than  or  equal  to  the
  3705.          ones (respectively) indicated in the incoming call packet. If the called DTE does
  3706.          not make any throughput class facility request in the call accepted  packet,  the
  3707.          throughput classes finally  applying  to  the  virtual  call  will  be  the  ones
  3708.          indicated in the incoming call packet.
  3709.                If the called DTE has not subscribed to the  throughput  class  negotiation
  3710.          facility, the throughput classes finally applying to the virtual  call  are  less
  3711.          than or equal to the ones selected at the calling  DTE/DCE  interface,  and  less
  3712.          than or equal to the default values defined at the called DTE/DCE interface.
  3713.                When the calling DTE has subscribed to  the  throughput  class  negotiation
  3714.          facility, every call  connected  packet  will  indicate  the  throughput  classes
  3715.          finally applying to the virtual call.
  3716.                When neither the calling DTE nor the  called  DTE  has  subscribed  to  the
  3717.          throughput class negotiation facility, the throughput  classes  applying  to  the
  3718.          virtual call will not be higher than the ones agreed as defaults at  the  calling
  3719.          and called DTE/DCE interfaces. They may be further constrained to lower values by
  3720.          the network, e.g., for international service.
  3721.                Note  1  -  Since  both  throughput  class  negotiation  and  flow  control
  3722.          parameter negotiation (see S 6.12) facilities can be applied to  a  single  call,
  3723.          the achievable throughput will depend on how users manipulate the D bit.
  3724.                Note 2 - Users are cautioned that the choice of  too  small  a  window  and
  3725.          packet size of a DTE/DCE interface (made by use of  the  flow  control  parameter
  3726.          negotiation facility may adversely affect the attainable throughput  class  of  a
  3727.          virtual call. This is likewise true of flow control mechanisms adopted by the DTE
  3728.          to control data transmission from the DCE.
  3729.          6.14   Closed user group related facilities
  3730.                A set of closed user group (CUG) optional user facilities enables users  to
  3731.          form groups of  DTEs  to  and/or  from  which  access  is  restricted.  Different
  3732.          combinations of access restrictions to and/or from DTEs having  one  or  more  of
  3733.          these facilities result in various combinations of accessibility.
  3734.                A DTE may belong to one or more CUGs. Each DTE belonging to  at  least  one
  3735.          CUG has either the closed user group facility (see S 6.14.1) or one  or  both  of
  3736.          the closed user group with  outgoing  access  and  the  closed  user  group  with
  3737.          incoming access facilities (see SS 6.14.2 and 6.14.3). For each CUG  to  which  a
  3738.          DTE belongs, either none of the incoming calls barred within a closed user  group
  3739.          or the outgoing calls barred within a closed user group facilities (see SS 6.14.4
  3740.          and 6.14.5) may apply for that DTE. Different combinations of CUG facilities  may
  3741.          apply for different DTEs belonging to the same CUG.
  3742.                When a DTE belonging to one or more CUGs places a  virtual  call,  the  DTE
  3743.          may explicitly indicate in the call request packet the CUG selected by using  the
  3744.          closed user group selection facility (see S 6.14.6) or the closed user group with
  3745.          outgoing access selection  facility  (see  S  6.14.7)  (see  Note).  When  a  DTE
  3746.          belonging to one or more CUGs receives a virtual call, the CUG  selected  may  be
  3747.          explicitly indicated in the incoming call packet through the use  of  the  closed
  3748.          user group selection facility or the  closed  user  group  with  outgoing  access
  3749.          selection facility.
  3750.                Note - For a given virtual call, only one of the above-mentioned  selection
  3751.          facilities can be present.
  3752.                The number of CUGs to which a DTE can belong is network dependent.
  3753.          6.14.1 Closed user group
  3754.                Closed user group is an optional user facility agreed for a period of  time
  3755.          for virtual calls. This user facility, if  subscribed  to,  enables  the  DTE  to
  3756.          belong to one or more closed user groups. A closed user group  permits  the  DTEs
  3757.          belonging to the group to communicate with each other but precludes communication
  3758.          with all other DTEs.
  3759.                When the DTE belongs to more than one closed  user  group,  a  preferential
  3760.          closed user group must be specified.
  3761.  
  3762.  
  3763.  
  3764.  
  3765.          PAGE70  Fascicle VIII.8 - X.25
  3766.  
  3767.